LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

# define our SDL_ROOT path
SDL_ROOT := ../sdl2

LOCAL_CFLAGS += -DENABLE_PCM

LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_ROOT)/include

# Add your application source files here...
LOCAL_SRC_FILES := as_lesson_pcm.cpp main.c\
    $(SDL_ROOT)/src/main/android/SDL_android_main.c 
    
#LOCAL_STATIC_LIBRARIES := libc
LOCAL_SHARED_LIBRARIES += SDL2

LOCAL_LDLIBS := -llog -lGLESv1_CM -lGLESv2

include $(BUILD_SHARED_LIBRARY)
